import React, { Component } from 'react'
import { BrowserRouter } from 'react-router-dom'
import Page from '../router/page'
import RouterView from '../router/RouterView'

export default class Router extends Component {
    render() {
        return (
            <BrowserRouter>
                <RouterView routes={Page} />
            </BrowserRouter>
        )
    }
}
